//
//  ChooseViewController.m
//  DebugDemo
//
//  Created by XFB on 2019/1/17.
//  Copyright © 2019年 ZhouCheng. All rights reserved.
//

#import "ChooseViewController.h"

#import "SingleChooseViewController.h"
#import "SingleChoose2ViewController.h"
#import "SingleChoose3ViewController.h"


#import "MultiChooseViewController.h"
#import "MultiChoose2ViewController.h"


@interface ChooseViewController ()

@end

@implementation ChooseViewController

/// 单选按钮点击
- (IBAction)singleChooseButtonDidClick:(UIButton *)sender
{
    switch (sender.tag) {
        case 100:
        {
            SingleChooseViewController *vc = [[SingleChooseViewController alloc] init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 101:
        {
            SingleChoose2ViewController *vc = [[SingleChoose2ViewController alloc] init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 102:
        {
            SingleChoose3ViewController *vc = [[SingleChoose3ViewController alloc] init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        default:
            break;
    }
}

/// 多选按钮点击
- (IBAction)multiChooseButtonDidClick:(UIButton *)sender
{
    switch (sender.tag) {
        case 200:
        {
            MultiChooseViewController *vc = [[MultiChooseViewController alloc] init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 201:
        {
            MultiChoose2ViewController *vc = [[MultiChoose2ViewController alloc] init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 202:
        {
            
        }
            break;
        default:
            break;
    }

}

- (void)viewDidLoad
{
    [super viewDidLoad];

    [self setupBasicSet];
    [self setupUI];
}

- (void)setupBasicSet
{
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = @"单选OR多选";
}

- (void)setupUI
{
    
}

@end
